#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <limits.h> 
#define MAX_STACK_COUNT 512

typedef struct dir_stack_s{
    char path_stack[MAX_STACK_COUNT][PATH_MAX];
    size_t size;
}dir_stack_t;

int is_absolute_path(const char *path);
int parse_path(const char *current_path,const char *relative_path,char *path);
